﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="DeTaiKhoaLuan.ascx.cs" Inherits="Controls_DeTaiKhoaLuan" %>
<div class="container_12">
<asp:ListView ID="lvDeTaiKhoaLuan" runat="server">
    <LayoutTemplate>
    
    <div class="grid_12" id="title">
        

         <div class="grid_4"><asp:Label ID="Label1" runat="server" Text="Tên Đề Tài"></asp:Label></div>
         <div class="grid_1"><asp:Label ID="Label2" runat="server" Text="Số SV Tối Đa"></asp:Label></div>
         <div class="grid_2"><asp:Label ID="Label3" runat="server" Text="DS SV Đăng Ký"></asp:Label></div>
         <div class="grid_2"><asp:Label ID="Label4" runat="server" Text="GV Hướng Dẫn"></asp:Label></div>
         <div class="grid_2"><asp:Label ID="Label5" runat="server" Text="Nội Dung"></asp:Label></div>
    </div>
    <asp:placeholder ID="itemPlaceholder" runat="Server"></asp:placeholder>
    </LayoutTemplate>
    <ItemTemplate>
    <div class="grid_12" id="item1">
    <br />
       <div class="grid_4"> <asp:Label ID="lblName" runat="server"><%#Eval("TenDeTai") %></asp:Label></div>
       <div class="grid_1"> <asp:Label ID="lblSoSV" runat="server"><%#Eval("SoLuongSV") %></asp:Label></div>
        <div class="grid_2"><asp:Label ID="lblDSSV" runat="server"><%#Eval("SoLuongSV")%></asp:Label></div>
       <div class="grid_2"> <asp:Label ID="lblGV" runat="server"><%#Eval("TenGV") %></asp:Label></div>
          <div class="grid_2"><asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/ChiTiet.aspx?id=<%#Eval('ID') %>">Chi Tiết</asp:HyperLink></div>
    </div>
    </ItemTemplate>
    <AlternatingItemTemplate>
    <div class="grid_12" id="item2">
    
       <div class="grid_4"> <asp:Label ID="lblName" runat="server"><%#Eval("TenDeTai") %></asp:Label></div>
         <div class="grid_1"><asp:Label ID="lblSoSV" runat="server"><%#Eval("SoLuongSV") %></asp:Label></div>
        <div class="grid_2"><asp:Label ID="lblDSSV" runat="server"><%#Eval("SoLuongSV")%></asp:Label></div>
        <div class="grid_2"><asp:Label ID="lblGV" runat="server"><%#Eval("TenGV") %></asp:Label></div>
        <div class="grid_2"><asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/ChiTiet.aspx?id=<%#Eval('ID') %>">Chi Tiết</asp:HyperLink></div>
   
    </div>
    </AlternatingItemTemplate>
</asp:ListView>
<div class="grid_12" id="item2">
 <asp:DataPager ID="DataPagerProducts" runat="server" PagedControlID="lvDeTaiKhoaLuan"
    PageSize="10">
    <Fields>
        <asp:NextPreviousPagerField ShowFirstPageButton="True" ShowNextPageButton="False" />
        <asp:NumericPagerField />
        <asp:NextPreviousPagerField ShowLastPageButton="True" ShowPreviousPageButton="False" />
    </Fields>
    </asp:DataPager>
    </div>
</div>